<template>
  <NConfigProvider :theme-overrides="themeOverrides" :theme="getLightTheme" :date-locale="dateZhCN">
    <AppProvider>
      <RouterView />
    </AppProvider>
  </NConfigProvider>
</template>

<script lang="ts" setup>
  import { zhCN, dateZhCN, darkTheme, lightTheme } from 'naive-ui';
  import AppProvider from '@/components/application';
  const getLightTheme = computed(() => lightTheme);
  const themeOverrides = {
    common: {
      primaryColor: '#5542F6',
      primaryColorHover: '#5542F6',
    },
  };
</script>
